import request from '@/utils/request'

// 查询校内公共区劳动列表
export function listProld2(query) {
  return request({
    url: '/project/prold2/list',
    method: 'get',
    params: query
  })
}

// 查询校内公共区劳动详细
export function getProld2(id) {
  return request({
    url: '/project/prold2/' + id,
    method: 'get'
  })
}

// 新增校内公共区劳动
export function addProld2(data) {
  return request({
    url: '/project/prold2',
    method: 'post',
    data: data
  })
}

// 修改校内公共区劳动
export function updateProld2(data) {
  return request({
    url: '/project/prold2',
    method: 'put',
    data: data
  })
}

// 删除校内公共区劳动
export function delProld2(id) {
  return request({
    url: '/project/prold2/' + id,
    method: 'delete'
  })
}
